<template>
    <div class="container-common course-information-description">
        <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item>课程信息</el-breadcrumb-item>
            <el-breadcrumb-item>课程简介</el-breadcrumb-item>
        </el-breadcrumb>
        <div class="content-stage" v-html="showDetail"></div>
    </div>
</template>

<script>
    import { mapGetters } from 'vuex';

    export default {
        name: "description",
        data () {
            return {
                showDetail: ''
            }
        },
        computed: {
            ...mapGetters([
                'getCurrentCourseId',
                'getCurrentCourseDetail'
            ])
        },
        mounted () {
            this.showDetail = this.getCurrentCourseDetail && this.getCurrentCourseDetail.courseDescription ? this.getCurrentCourseDetail.courseDescription : '';
        }
    }
</script>